<?php
namespace app\index\model;
use think\Model;

class User extends Model {
    public function getUsers($uid = 1) {
        // 模拟从数据库里获取数据
        return array('name' => '王立奇', 'age' => 18);
    }
}